import { createRouter, createWebHashHistory } from 'vue-router';
import OneToOne from './pages/OneToOne.vue';
import EnterPage from './pages/EnterPage.vue';
import HomePage from './pages/HomePage.vue';
const routes = [
  { path: '/', redirect: 'enter' },
  { path: '/enter', component: EnterPage },
  { path: '/home', component: HomePage },
  { path: '/one2one', component: OneToOne },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
